package com.mshine.cloud;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

import static com.xxl.job.core.biz.model.ReturnT.SUCCESS;

@Component
public class DemoJobHandler {

    @XxlJob("jobDemo")
    public ReturnT<String> jobDemo(String s) {
        System.out.println("excuting......");
        return SUCCESS;
    }
}
